home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
print
/
bjfilt.arj
/
MON16.H
< prev
next >
Wrap
Text File
|
1994-02-03
|
776b
|
30 lines
/*** Monitor support */
#define MONITOR_DEFAULT 0x0000
#define MONITOR_BEGIN 0x0001
#define MONITOR_END 0x0002
typedef SHANDLE HMONITOR;
typedef HMONITOR FAR *PHMONITOR;
typedef struct _MONIN {
USHORT cb;
BYTE abReserved[18];
BYTE abBuffer[108];
} MONIN;
typedef MONIN FAR *PMONIN;
typedef struct _MONOUT {
USHORT cb;
UCHAR buffer[18];
BYTE abBuf[108];
} MONOUT;
typedef MONOUT FAR *PMONOUT;
USHORT DosMonOpen(PSZ pszDevName, PHMONITOR phmon);
USHORT DosMonClose(HMONITOR hmon);
USHORT DosMonReg(HMONITOR hmon, PBYTE pbInBuf, PBYTE pbOutBuf,
USHORT fPosition, USHORT usIndex);
USHORT DosMonRead(PBYTE pbInBuf, USHORT fWait, PBYTE pbDataBuf, PUSHORT pcbData);
USHORT DosMonWrite(PBYTE pbOutBuf, PBYTE pbDataBuf, USHORT cbData);